From 26adf5ffad512926aaa4f4d12b5062a6704dff86 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 7 Sep 2023 21:42:06 +0000 Subject: [PATCH] Take $(ORDER) out of the dependencies No point. Plus some schemas don't yet exist under revision control. --- db/schemas/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/db/schemas/Makefile b/db/schemas/Makefile index 6ba361f..d180f33 100644 --- a/db/schemas/Makefile +++ b/db/schemas/Makefile @@ -394,7 +394,7 @@ dropschemas.sql createschemas.sql: %.sql: %.m4 $(DB_DEPENDS) ## createtables.sql ## A file with the SQL to make all the tables -createtables.sql: $(ORDER) $(DB_DEPENDS) $(TABLE_CREATE_FILES) \ +createtables.sql: $(DB_DEPENDS) $(TABLE_CREATE_FILES) \ create_sql.sh ./create_sql.sh '$(TABLE_CREATE_FILES)' > createtables.sql @@ -406,49 +406,49 @@ droptables.sql: $(DB_DEPENDS) $(TABLE_DROP_FILES) drop_sql.sh ## createtriggers.sql ## A file with the SQL to make all the triggers -createtriggers.sql: $(ORDER) $(DB_DEPENDS) $(TRIGGER_CREATE_FILES) \ +createtriggers.sql: $(DB_DEPENDS) $(TRIGGER_CREATE_FILES) \ create_sql.sh ./create_sql.sh '$(TRIGGER_CREATE_FILES)' > createtriggers.sql ## droptriggers.sql ## A file with the SQL which drops all the tables -droptriggers.sql: $(ORDER) $(DB_DEPENDS) $(TRIGGER_DROP_FILES) drop_sql.sh +droptriggers.sql: $(DB_DEPENDS) $(TRIGGER_DROP_FILES) drop_sql.sh ./drop_sql.sh '$(TRIGGER_DROP_FILES)' > droptriggers.sql ## createfunctions.sql ## A file with the SQL to make all the functions -createfunctions.sql: $(ORDER) $(DB_DEPENDS) $(FUNCTION_CREATE_FILES) \ +createfunctions.sql: $(DB_DEPENDS) $(FUNCTION_CREATE_FILES) \ create_sql.sh ./create_sql.sh '$(FUNCTION_CREATE_FILES)' > createfunctions.sql ## dropfunctions.sql ## A file with the SQL which drops all the tables -dropfunctions.sql: $(ORDER) $(DB_DEPENDS) $(FUNCTION_DROP_FILES) drop_sql.sh +dropfunctions.sql: $(DB_DEPENDS) $(FUNCTION_DROP_FILES) drop_sql.sh ./drop_sql.sh '$(FUNCTION_DROP_FILES)' > dropfunctions.sql ## createviews.sql ## A file with the SQL to make all the views -createviews.sql: $(ORDER) $(DB_DEPENDS) $(VIEW_CREATE_FILES) \ +createviews.sql: $(DB_DEPENDS) $(VIEW_CREATE_FILES) \ create_sql.sh ./create_sql.sh '$(VIEW_CREATE_FILES)' > createviews.sql ## dropviews.sql ## A file with the SQL which drops all the tables -dropviews.sql: $(ORDER) $(DB_DEPENDS) $(VIEW_DROP_FILES) drop_sql.sh +dropviews.sql: $(DB_DEPENDS) $(VIEW_DROP_FILES) drop_sql.sh ./drop_sql.sh '$(VIEW_DROP_FILES)' > dropviews.sql ## createindexes.sql ## A file with the SQL to make all the indexes -createindexes.sql: $(ORDER) $(DB_DEPENDS) $(INDEX_CREATE_FILES) \ +createindexes.sql: $(DB_DEPENDS) $(INDEX_CREATE_FILES) \ create_sql.sh ./create_sql.sh '$(INDEX_CREATE_FILES)' > createindexes.sql ## dropindexes.sql ## A file with the SQL which drops all the tables -dropindexes.sql: $(ORDER) $(DB_DEPENDS) $(INDEX_DROP_FILES) drop_sql.sh +dropindexes.sql: $(DB_DEPENDS) $(INDEX_DROP_FILES) drop_sql.sh ./drop_sql.sh '$(INDEX_DROP_FILES)' > dropindexes.sql -- 2.34.1